#ifndef CHANCLASS_H
#define CHANCLASS_H

#include <QObject>
#include <QWebEnginePage>

class ChanObj : public QObject
{
    Q_OBJECT
public:
    explicit ChanObj(QObject *parent = nullptr);

signals:
public:
    // 向页面发送消息
    void sendMsg(QWebEnginePage *page, double lng, double lat);

public slots:
    void showPoint(double, double);
    void onMsg(const QString &msg);
};

#endif // CHANCLASS_H
